Touch compensation apparatus, touch compensation method, and touch screen

ABSTRACT

A touch compensation method includes: for at least one line, estimating coordinates of a point to be compensated at a current moment according to coordinates of n touch recognition points at n previous moments, and n being an integer greater than or equal to 2; calculating compensation data of a touch model corresponding to the point to be compensated according to first touch data of a touch model corresponding to a touch recognition point of a previous 1st moment T 1 ; obtaining all touch data of a touch screen at the current moment, and obtaining second touch data at the current moment at a place where the touch model corresponding to the point to be compensated is located from the all touch data according to the coordinates of the point to be compensated; and compensating the second touch data according to the compensation data.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a national phase entry under 35 USC 371 of International Patent Application No. PCT/CN2019/120800 filed on Nov. 26, 2019, which is incorporated herein by reference in its entirety.

TECHNICAL FIELD

The present disclosure relates to the field of touch technology, and in particular, to a touch compensation apparatus, a touch compensation method, and a touch screen.

BACKGROUND

Touch screens are widely used in human-computer interaction devices, and users can control the devices by touching the touch screen with their fingers or touch tools. There are many types of touch screens. With a capacitive touch screen as an example, when a finger or a touch tool is used to touch it, the finger will change a capacitance at a contact point. By monitoring a change in the capacitance at each touch point of the touch screen, it is possible to locate the contact point.

SUMMARY

In an aspect, a touch compensation method is provided. The touch compensation method includes: for at least one line, estimating coordinates of a point to be compensated at a current moment according to coordinates of n touch recognition points at n previous moments, the n previous moments before the current moment being T1 to Tn, and n being an integer greater than or equal to 2; calculating compensation data of a touch model corresponding to the point to be compensated according to first touch data of a touch model corresponding to a touch recognition point of a previous 1st moment T₁; obtaining all touch data of a touch screen at the current moment, and obtaining second touch data at the current moment at a place where the touch model corresponding to the point to be compensated is located from the all touch data according to the coordinates of the point to be compensated; and compensating the second touch data according to the compensation data.

In some embodiments, before compensating the second touch data according to the compensation data, the touch compensation method further includes: performing removal interference on the second touch data.

In some embodiments, performing the interference removal on the second touch data includes: multiplying the second touch data by an interference removal coefficient, the interference removal coefficient being greater than 0 and less than 1.

In some embodiments, the interference removal coefficient is in a range of 0.5 to 1.

In some embodiments, the interference removal coefficient is 0.8.

In some embodiments, estimating the coordinates of the point to be compensated at the current moment according to the coordinates of the n touch recognition points at the n previous moments includes: calculating the coordinates (X_(C),Y_(C)) of the point to be compensated according to the following formulas (1) and (2):

$\begin{matrix} {{X_{C} = {X_{1} + {\sum\limits_{k = 1}^{n - 1}{A_{k} \cdot \left( {X_{k} - X_{k + 1}} \right)}}}};} & (1) \\ {{Y_{C} = {Y_{1} + {\sum\limits_{k = 1}^{n - 1}{A_{k} \cdot \left( {Y_{k} - Y_{k + 1}} \right)}}}},} & (2) \end{matrix}$ wherein, A_(k) represents a weight coefficient corresponding to differences between coordinates of a touch recognition point at a previous kth moment and a touch recognition point at a previous (k+1)th moment before the current moment, which are among the n touch recognition points;

${{\sum\limits_{k = 1}^{n - 1}A_{k}} = 1},$ and A₁>A₂> . . . >A_(n-1); X_(k) represents an abscissa of the touch recognition point at the previous kth moment before the current moment, and Y_(k) represents an ordinate of the touch recognition point at the previous kth moment before the current moment.

In some embodiments, A1 is greater than 0.5.

In some embodiments, n is equal to 4, A₁ is equal to 0.6, A₂ is equal to 0.3, and A₃ is equal to 0.1.

In some embodiments, in a case where there are at least two lines, and there is an overlapping region between the second touch data of the touch models corresponding to the points to be compensated of two adjacent lines, compensating the second touch data according to the compensation data includes: compensating a part of the second touch data that is located in the overlapping region according to the compensation data of any one of the points to be compensated of the two adjacent lines.

In some embodiments, the compensation data includes: central compensation data calculated based on touch data of a central point in the first touch data, and peripheral compensation data calculated based on touch data of peripheral points in the first touch data. Calculating the compensation data of the touch model corresponding to the point to be compensated according to the first touch data of the touch model corresponding to the touch recognition point of the previous 1st moment T₁ includes: multiplying the touch data of the central point in the first touch data by a central compensation coefficient, a product obtained is used as the central compensation data; and multiplying the touch data of the peripheral points in the first touch data by a peripheral compensation coefficient, a product obtained is used as the peripheral compensation data. The central compensation coefficient is greater than or equal to the peripheral compensation coefficient

In some embodiments, the central compensation coefficient is in a range of 0.2 to 0.8, and the peripheral compensation coefficient is in a range of 0.1 to 0.7.

In some embodiments, the central compensation coefficient is 0.32, and the peripheral compensation coefficient is 0.24.

In some embodiments, the second touch data includes: touch data of a central point and touch data of peripheral points. Compensating the second touch data according to the compensation data includes: adding the central compensation data to the touch data of the central point in the second touch data correspondingly; and adding the peripheral compensation data to the touch data of the peripheral points in the second touch data correspondingly.

In some embodiments, after the second touch data is compensated according to the compensation data, and compensated touch data at the current moment is obtained, the touch compensation method further includes: replacing second touch data that is uncompensated with compensated second touch data to obtain all compensated touch data at the current moment; identifying a touch model of the current moment according to all compensated touch data at the current moment; and determining a touch recognition point of the current moment according to the identified touch model of the current moment.

In some embodiments, identifying the touch model of the current moment according to the all compensated touch data at the current moment, includes: among the all compensated touch data at the current moment, if touch data of a touch point is greater than touch data of other touch points around the touch point, then identifying the touch point and the other touch points around the touch point as a touch model; and determining the touch recognition point of the current moment according to the identified touch model of the current moment, includes: determining a central point of the touch model to be the touch recognition point of the current moment.

In some embodiments, the touch model is a nine-box matrix composed of 9 touch points.

In another aspect, a touch compensation apparatus is provided. The touch compensation apparatus includes: a processor and a memory. The memory stores program instructions that are executable. When the program instructions are executed by the processor, the touch compensation apparatus is caused to perform the following steps: for at least one line, estimating coordinates of a point to be compensated at a current moment according to coordinates of n touch recognition points at n previous moments, the n previous moments before the current moment being T₁ to T_(n), and n being an integer greater than or equal to 2; calculating compensation data of a touch model corresponding to the point to be compensated according to first touch data of a touch model corresponding to a touch recognition point of a previous 1st moment T₁; obtaining all touch data of a touch screen at the current moment, and obtaining second touch data at the current moment at a place where the touch model corresponding to the point to be compensated is located from the all touch data according to the coordinates of the point to be compensated; and compensating the second touch data according to the compensation data.

In yet another aspect, a touch screen is provided. The touch screen includes the touch compensation apparatus according to the above embodiment.

In yet another aspect, a non-transitory computer readable storage medium is provided. The non-transitory computer readable storage medium stores one or more program instructions, so as to perform one or more steps of the touch compensation method according to any one of the above embodiments.

In yet another aspect, a computer program product is provided. The computer program product includes computer program instructions. When the computer program instructions are executed by a computer, the computer program instructions cause the computer to perform one or more steps of the touch compensation method according to any of the above embodiments.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to describe technical solutions in the present disclosure more clearly, the accompanying drawings to be used in some embodiments of the present disclosure will be introduced briefly. Obviously, the accompanying drawings to be described below are merely accompanying drawings of some embodiments of the present disclosure, and a person of ordinary skill in the art can obtain other drawings according to these drawings.

In addition, the accompanying drawings to be described below may be regarded as schematic diagrams, and are not limitations on actual dimensions of products, actual processes of methods and actual timings of signals that the embodiments of the present disclosure relate to.

FIG. 1 is a schematic diagram showing abnormal lines drawn on a touch screen, according to the related art;

FIG. 2 is a schematic diagram showing touch points of a touch screen and touch data of the touch points, according to the related art;

FIG. 3 is a flow chart of a touch compensation method, according to some embodiments of the present disclosure;

FIG. 4 is a schematic diagram showing how to estimate coordinates of a point to be compensated in a touch compensation method, according to some embodiments of the present disclosure;

FIG. 5 is a schematic diagram showing how to calculate compensation data in a touch compensation method, according to some embodiments of the present disclosure;

FIG. 6 is a schematic diagram showing how to obtain second touch data in a touch compensation method, according to some embodiments of the present disclosure;

FIG. 7 is a flow chart of another touch compensation method, according to some embodiments of the present disclosure;

FIG. 8 is a schematic diagram showing a touch compensation method in a case where there is an overlapping region between touch models corresponding to points to be compensated of different lines, according to some embodiments of the present disclosure;

FIG. 9 is a schematic diagram showing a touch compensation method in a case where there is an overlapping region between second touch data of points to be compensated of different lines, according to some embodiments of the present disclosure;

FIG. 10 is a schematic diagram showing another touch compensation method in a case where there is an overlapping region between second touch data of points to be compensated of different lines, according to some embodiments of the present disclosure;

FIGS. 11-18 are schematic diagrams showing how to perform touch compensation in a touch compensation method, according to some embodiments of the present disclosure;

FIG. 19 is a structural diagram of a touch compensation apparatus, according to some embodiments of the present disclosure;

FIG. 20 is a structural diagram of a touch screen, according to some embodiments of the present disclosure; and

FIG. 21 is a structural diagram of another touch compensation apparatus, according to some embodiments of the present disclosure.

DETAILED DESCRIPTION

The technical solutions in some embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings. Obviously, the described embodiments are merely some but not all of embodiments of the present disclosure. All other embodiments obtained on the basis of the embodiments of the present disclosure by a person of ordinary skill in the art shall be included in the protection scope of the present disclosure.

Unless the context requires otherwise, the term “comprise” and other forms thereof such as the third-person singular form “comprises” and the present participle form “comprising” in the description and the claims are construed as an open and inclusive meaning, that is, “inclusive, but not limited to”. In the description, the terms such as “one embodiment”, “some embodiments”, “exemplary embodiments”, “example”, “specific example”, or“some examples” are intended to indicate that specific features, structures, materials or characteristics related to the embodiment(s) or example(s) are included in at least one embodiment or example of the present disclosure. Schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, the specific features, structures, materials or characteristics may be included in any one or more embodiments or examples in any suitable manner.

Below, terms “first” and “second” are used for descriptive purposes only and are not to be construed as indicating or implying the relative importance or implicitly indicating the number of indicated technical features. Thus, features defined as “first”, “second” may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, the term “a/the plurality of” means two or more unless otherwise specified.

In an example where a finger is used to touch a capacitive touch screen, a high frequency electrical signal will be formed on touch electrodes of the capacitive touch screen, so that capacitors are formed between the touch electrodes. When the finger touches some part on the touch screen, the finger will cause a change in an amount of charge of this part, which in turn causes a change in capacitance between touch electrodes at the contact part. Therefore, a touch current signal will be generated at the contact part, and the touch screen can locate the position where the amount of charge has changed according to the received touch current signal. A magnitude of the generated touch current signal is related to a degree of change in the capacitance. The magnitude of the generated touch current signal can be converted into a numerical value, i.e., touch data, by an Analog-to-Digital Converter (abbreviated as ADC).

Referring to FIG. 1, in a process of using the touch screen, when a user draws a line on the touch screen, an abnormal line may be drawn. For example, a touch signal of the touch screen may be interfered by other signals inside the touch screen (for example, a liquid crystal driving signal of a liquid crystal display touch screen) and external signals, resulting in inaccurate touch recognition of the touch screen. In an example, referring to part (A) of FIG. 1, the region S is a region where an abnormal line is drawn. The touch screen fails to determine an actual contact point 2 as a touch recognition point 1, resulting in a line L appearing disconnected on the touch screen. In another example, referring to part (B) of FIG. 1, the touch recognition points 1 determined by the touch screen in the region S are inconsistent with the actual contact points 2, resulting in an abnormal jitter on the line L on the touch screen. That is, individual touch recognition points on the line deviate from an actual trajectory of the line. Especially in a case where the user requires a high touch recognition accuracy of the touch screen, for example, where the user uses the touch screen for manual drawing or writing, the touch recognition accuracy of the touch screen needs to be improved to reduce an occurrence of abnormal line drawing.

It will be noted that, referring to FIG. 2, there are multiple touch points 10 on the touch screen, and the touch screen collects touch data at each touch point 10. At a certain moment, after the touch screen has collected touch data at all the touch points 10, the touch screen will determine one or more touch points 10 as the touch recognition point(s) 1 at this moment according to the collected touch data. In the present disclosure, the “touch recognition point” refers to a contact point between the touch screen and a finger or a touch tool determined by the touch screen. Referring to FIG. 1, if the touch recognition point 1 determined by the touch screen and the actual contact point 2 are a same touch point 10, it means that the touch recognition of the touch screen is accurate this time. However, if the touch recognition point 1 and the actual touch point 2 are not a same touch point 10, or the touch screen fails to determine the actual touch point 2 as the touch recognition point 1, it means that the touch recognition of the touch screen is inaccurate this time. In this case, a problem of abnormal jitter or disconnection of the line described above will arise.

Some embodiments of the present disclosure provide a touch compensation method. Referring to FIGS. 3 to 6, the touch compensation method includes the following S10 to S40. For at least one line L,

in S10, referring to FIG. 4, coordinates (X_(C),Y_(C)) of a point to be compensated P_(C) at a current moment T₀ are estimated according to coordinates of n touch recognition points at n previous moments. The n previous moments before the current moment are T₁ to T_(n), and n is an integer greater than or equal to 2.

Herein, the “point to be compensated” refers to a touch recognition point of the current moment T₀ that is estimated according to a trajectory of the line L composed of the n touch recognition points at the n previous moments. The estimated touch recognition point will be compensated, that is, the estimated touch recognition point will be used as the point to be compensated P_(C) of the current moment T₀. The point to be compensated P_(C) is obtained through estimation, and the coordinates of the point to be compensated P_(C) may coincide with coordinates of an actual contact point at the current moment T₀ or coordinates of a touch recognition point determined by the touch screen, or may not coincide with the coordinates of the actual contact point at the current time T₀ or the coordinates of the touch recognition point determined by the touch screen.

In addition, the n previous moments T₁ to T_(n) before the current moment refer to a previous 1st moment T₁ to a previous nth moment T_(n), which correspond to the n touch recognition points P₁(X₁,Y₁) to P_(n)(X_(n),Y_(n)), respectively. Herein, the previous 1st moment T₁ refers to a 1st moment counted backwards from the current moment T₀, and the previous nth moment T₀ refers to an nth moment counted backwards from the current moment T₀.

In S20, referring to FIG. 5, compensation data D_(C) of a touch model corresponding to the point to be compensated P_(C) is calculated according to first touch data D₁ of a touch model corresponding to the touch recognition point P₁ of the previous 1st moment T₁.

It will be noted that, the “touch model” described above is used for the touch screen to determine the touch recognition point according to the collected touch data. The touch screen will identify a touch model according to the collected touch data. In a case where touch data at a plurality of touch points meets certain pre-set conditions, the touch screen will identify the plurality of touch points as a touch model, and determine a touch recognition point at a certain moment according to the touch model.

In S30, referring to FIG. 6, all touch data DA of the touch screen at the current moment is obtained. Second touch data D₂ at the current moment T₀ at a place where the touch model corresponding to the point to be compensated P_(C) is located is obtained from the all touch data D_(A) according to the coordinates (X_(C),Y_(C)) of the point to be compensated P_(C).

The all touch data D_(A) refers to touch data at all touch points collected by the touch screen at the current moment T₀. The touch screen will determine the touch recognition points according to the all touch data D_(A). It will be noted that, in the foregoing description, it is described that “a touch signal of the touch screen may be interfered by other signals inside the touch screen and external signals”. After the touch signal is interfered, the interference will cause the touch data at some touch points in the all touch data D_(A) to be inaccurate. The all touch data D_(A) is divided according to distances from the touch points to the point to be compensated PC, and the all touch data D_(A) includes: touch data M₁ at the point to be compensated P_(C), touch data M₂ at touch points around the point to be compensated P_(C), and touch data M₃ at touch points away from the point to be compensated P_(C).

The coordinates (X_(C),Y_(C)) of the point to be compensated P_(C) are already obtained in S10. The touch data M₁ at the current moment at the point to be compensated P_(C) and the touch data M₂ at the touch points around the point to be compensated P_(C) may be obtained in S30 according to the coordinates (X_(C),Y_(C)). These touch data constitutes the second touch data D₂.

In S40, the second touch data D₂ is compensated according to the compensation data D_(C).

In some embodiments of the present disclosure, an order of S20 and S30 is not specifically limited. For example, as shown in FIG. 2, S20 is performed first, and then S30 is performed. That is, compensation data D_(C) is calculated first, and then all touch data D_(A) is obtained, and second touch data D₂ is obtained from the all touch data D_(A). For another example, S30 is performed first, and then S20 is performed. That is, the all touch data D_(A) is obtained first, and the second touch data D₂ is obtained from the all touch data D_(A), and then the compensation data D_(C) is calculated.

In the touch compensation method described above, for each line L, a time interval between touch recognition points at adjacent moments determined by the touch screen is relatively short, and a distance between the touch recognition points at the adjacent moments is relatively small. Therefore, the touch recognition point of the current moment T₀ estimated according to the coordinates of the n touch recognition points P₁(X₁,Y₁) to P_(n)(X_(n),Y_(n)) at the n previous moments, i.e., a previous trajectory of the line, is relatively proximate to the actual touch recognition point of the current moment T₀. Moreover, there is a certain continuity in touch data of touch recognition points located on a same line L. For example, when a same finger or a same touch tool is used to draw lines, distribution of the touch data of the touch models corresponding to touch recognition points on the same line L is relatively close to each other. For another example, the touch data of the touch recognition points at adjacent moments on the same line L rarely changes drastically. Therefore, in a case where the touch data collected at the current moment T₀ is interfered by other signals inside the touch screen and external signals, the second touch data D₂ is compensated according to the compensation data D_(C) calculated based on the first touch data D₁ of the previous 1st moment T₁. In other words, by compensating the second touch data D₂ of the current moment T₀ according to the trajectory and touch data of the line L before the current moment T₀, it may be possible to reduce an influence of the interference on the accuracy of the touch screen in determining the touch recognition points, and thereby improving the touch recognition accuracy of the touch screen.

On this basis, in some embodiments, referring to FIG. 7, before S40, the touch compensation method further includes the following step.

In S35, interference removal is performed on the second touch data D₂.

Herein, S35 needs to be performed after S30. That is, the second touch data D₂ needs to be obtained first, and then the interference removal is performed on the second touch data D₂.

In this way, by performing the interference removal on the obtained second touch data D₂ before the step of compensating the second touch data D₂ according to the compensation data D_(C) in S40, it may be possible to reduce the influence of the interference of other signals inside the touch screen and external signals on the determination of touch recognition points; therefore, the touch recognition accuracy of the touch screen may be further improved.

For example, the step of performing the interference removal on the second touch data in S35 includes: multiplying the second touch data D₂ by an interference removal coefficient. Herein, the interference removal coefficient is greater than 0 and less than 1.

In some embodiments, the interference removal coefficient is in a range from 0.5 to 1. For example, the interference removal coefficient is 0.8.

Therefore, in the case where the touch data collected at the current moment T₀ is interfered by other signals inside the touch screen and external signals, by multiplying the second touch data D₂ by the interference removal coefficient that is less than 1, it may be possible to reduce a deviation between the second touch data and the actual touch data, thereby reducing the influence of the interference on the determination of touch recognition points.

In some embodiments, S10 includes:

calculating the coordinates (X_(C),Y_(C)) of the point to be compensated P_(C) according to the following formulas (1) and (2):

$\begin{matrix} {{X_{C} = {X_{1} + {\sum\limits_{k = 1}^{n - 1}{A_{k} \cdot \left( {X_{k} - X_{k + 1}} \right)}}}};} & (1) \\ {{Y_{C} = {Y_{1} + {\sum\limits_{k = 1}^{n - 1}{A_{k} \cdot \left( {Y_{k} - Y_{k + 1}} \right)}}}};} & (2) \end{matrix}$

Herein, X_(k) represents an abscissa of a touch recognition point P₁ (X_(k),Y₁) at a previous kth moment T_(k), and Y_(k) represents an ordinate of the touch recognition point P_(k) (X_(k),Y_(k)) at the previous kth moment T_(k). A_(k) represents a weight coefficient corresponding to differences between coordinates of a touch recognition point P_(k) (X_(k),Y_(k)) at a previous kth moment T_(k) before the current moment among the n touch recognition points and coordinates of a touch recognition point P_(k)+(X_(k)+1,Y_(k)+) at a previous (k+1)th moment T_(k)+1 before the current moment among the n touch recognition points,

${{\sum\limits_{k = 1}^{n - 1}A_{k}} = 1},$ and A₁>A₂> . . . >A_(n-1).

For example, referring to FIG. 4, with the touch recognition point P₁(X₁,Y₁) of the previous 1st moment T₁ and the touch recognition point P₂(X₂,Y₂) of the previous 2nd moment T₂ as an example, A₁ represents a weight coefficient corresponding to differences between coordinates of P₁(X₁,Y₁) and P₂(X₂,Y₂), i.e., a weight coefficient corresponding to ΔX₁ and ΔY₁.

As such, distances among the touch recognition points (including distances between the abscissas and distances between the ordinates) of the n previous moments on the line L are calculated according to a weight of a certain coefficient, so as to obtain differences between the coordinates of the point to be compensated P_(C) and the coordinates of the touch recognition point P₁ of the previous 1st moment T₁ (including a difference ΔX between the abscissas and a difference ΔY between the ordinates). The differences are then used to estimate the coordinates of the touch recognition point of the current moment T₀. That is, the coordinates (X_(C),Y_(C)) of the point to be compensated P_(C) are obtained.

It will be noted that, A₁>A₂> . . . >A_(n-1). In this way, it may be possible to ensure that when ΔX and ΔY are calculated, more weight is given to the distance between the touch recognition points relatively close to the point to be compensated P_(C), and less weight is given to the distance between the touch recognition points relatively far away from the point to be compensated P_(C).

A value of A_(k) may be set according to actual touch recognition needs, which is not specifically limited here. For example, A₁ may be set to be greater than 0.5. For example, in a case where n is equal to 4, A₁ is equal to 0.6, A₂ is equal to 0.3, and A₃ is equal to 0.1.

In some embodiments, referring to FIG. 8, in a case where there are at least two lines L, and there is an overlapping region S₁ between the second touch data D₂ of the touch models corresponding to the points to be compensated P_(C) of two adjacent lines L, in S40, a part of the second touch data D₂ that is located in the overlapping region S₁ is compensated according to compensation data D_(C) of any one of the points to be compensated P_(C) of the two adjacent lines L. In other words, the part of second touch data D₂ that is located in the overlapping region S₁ is compensated only once, and will not be compensated repeatedly just because the touch data located in the overlapping region S₁ belongs to the second touch data D₂ of touch models corresponding to two points to be compensated P_(C).

On this basis, in some embodiments, referring to FIG. 5, the compensation data D_(C) includes: central compensation data N₁′ calculated based on touch data N₁ of a central point in the first touch data D₁, and peripheral compensation data N₂′ calculated based on touch data N₂ of peripheral points in the first touch data D₁.

The touch data N₁ of the central point in the first touch data D₁ is touch data of the touch recognition point P₁ of the previous 1st moment T₁, and the touch data N₂ of the peripheral points in the first touch data D₁ is touch data of other touch points around the touch recognition point P₁ of the previous 1st moment T₁.

Multiplying the touch data N₁ of the central point in the first touch data D₁ and a central compensation coefficient n₁, and a product obtained is used as the central compensation data N₁′, i.e., N₁′=N₁×n₁. Multiplying the touch data N₂ of peripheral points in the first touch data D₁ and a peripheral compensation coefficient n₂, and a product obtained is used as the peripheral compensation data N₂′, i.e., N₂′=N₂×n₂. The central compensation coefficient n₁ is greater than or equal to the peripheral compensation coefficient n₂.

It will be noted that, the capacitance at the actual contact point changes greatly, while the capacitance at touch points located in a peripheral region around the actual contact point only changes slightly. In other words, the touch data at the actual touch point is greater than the touch data at other touch points around the actual touch point, which enables the touch screen to determine the touch recognition point: among all the touch data D_(A) collected by the touch screen, when touch data of a touch point is greater than touch data of other touch points around the touch point, the touch screen will identify the touch point and the other touch points around the touch point as a touch model, and the touch point with the largest touch data is determined as a touch recognition point. For example, in the first touch data D₁ shown in FIG. 5, N₁ is greater than N₂.

In a case where the number of the at least one line L is greater than or equal to 2, for example, in a case where the second touch data D₂ of the touch screen is as shown in FIG. 9, the touch screen will identify three touch models and thus determine three touch recognition points. In a case where there is an overlapping region S2 between second touch data D₂ of touch models corresponding to two of the three touch recognition points, the touch data collected in the overlapping region S2 may be formed by superimposing respective touch data of two actual contact points. The superimposed touch data may be greater than or equal to the touch data at the actual touch point, resulting in the touch screen being unable to correctly identify the touch model and thus determining the touch recognition points incorrectly (for example, the touch screen may determine a touch point in the overlapping region S2 as a touch recognition point).

In this case, in the touch compensation method as described above, the central compensation coefficient n₁ is greater than or equal to the peripheral compensation coefficient n₂. In other words, the touch data M₁ of the point to be compensated P_(C) will be compensated to a greater extent than the touch data M₂ of touch points around the point to be compensated P_(C). In this way, after the second touch data D₂ is compensated according to the compensation data D_(C), it may be possible to reduce a probability of the touch screen determining the touch recognition points incorrectly due to the fact that the touch data collected in the overlapping region S2 is the superimposed touch data. Therefore, the touch recognition accuracy of the touch screen may be further improved.

For example, the central compensation coefficient n₁ is in a range of 0.2 to 0.8, and the peripheral compensation coefficient n₂ is in a range of 0.1 to 0.7. For example, the central compensation coefficient n₁ is 0.32, and the peripheral compensation coefficient n₂ is 0.24.

In some embodiments, referring to FIGS. 6 and 9, in a case where the second touch data D₂ includes: touch data M₁ of a central point and touch data M₂ of peripheral points, S40 includes:

correspondingly adding the central compensation data N₁′ to the touch data M₁ of the central point in the second touch data D₂, that is, touch data of the central point that is compensated is (N₁′+M₁); and adding the peripheral compensation data N₂′ to the touch data M₂ of the peripheral points in the second touch data D₂, that is, touch data of the peripheral points that is compensated is (N₂′+M₂).

In some embodiments, referring to FIG. 10, in the touch compensation method as described above, in a case where S35 is performed, that is, in a case where the second touch data D₂ is obtained and the interference removal is performed on the second touch data D₂, in S40, after the central compensation data N₁′ is correspondingly added to the touch data M₁′ of the central point in the second touch data D₂′ that is obtained after the interference removal, the touch data of the central point after the compensation is: (N1′+M1′); and after the peripheral compensation data N₂′ is correspondingly added to the touch data M₂ of the peripheral touch points in the second touch data D₂′ that is obtained after the interference removal, the touch data of the peripheral points after the compensation is: (N2′+M2′).

In some embodiments, referring to FIG. 7, after S40, the touch compensation method further includes the following steps.

In S50, the uncompensated second touch data D₂ is replaced with compensated second touch data D2″ to obtain all compensated touch data D_(A)′ of the current moment T₀.

In S51, the touch model of the current moment T₀ is identified according to the all compensated touch data D_(A)′ of the current moment T₀, and the touch recognition point P₀ of the current moment T₀ is determined according to the identified touch model of the current moment T₀.

For example, S51 includes:

among the all compensated touch data D_(A) of the current moment T₀, if touch data of a touch point is greater than touch data of other touch points around the touch point, then the touch point and the other touch points around the touch point are identified as the touch model, and a central point of the touch model is determined to be the touch recognition point P₀ of the current moment T₀.

The shape of the touch model, the number of touch points included in the touch model, and the distribution of touch data of the touch points included in the touch model are not specifically limited here. The touch model may be set according to actual needs. For example, referring to FIG. 5, the touch model is a 9-box matrix composed of 9 touch points and their touch data, and the touch data N₁ of the central point of the touch model is greater than the touch data N₂ of the peripheral points. For example, the touch model may also be a 25-box matrix composed of 25 touch points and their touch data, and the touch data N₁ of the central point is greater than the touch data N₂ of the peripheral points. In addition, the touch model may be designed according to actual needs according to a specific arrangement of touch points in different touch screens.

The touch compensation method will be described with examples below with reference to FIGS. 11 to 17. Herein, an example is taken in which there are 3 lines L, the coordinates of the point to be compensated P_(C) are calculated according to coordinates of 4 touch points of 4 previous moments, and the touch model is the 9-box matrix as described above.

As shown in FIG. 11, for each of the three lines L, the coordinates (X_(C),Y_(C)) of the point to be compensated P_(C) are calculated according to the following formulas (3) and (4) based on the coordinates (X₁,Y₁), (X₂,Y₂), (X₃,Y₃) and (X₄,Y₄) of the 4 touch recognition points P₁, P₂, P₃ and P₄ of the 4 previous moments: X _(C) =X ₁+0.6(X ₁ −X ₂)+0.3(X ₂ −X ₃)+0.1(X ₃ −X ₄)  (3); Y _(C) =Y ₁+0.6(Y ₁ −Y ₂)+0.3(Y ₂ −Y ₃)+0.1(Y ₃ −Y ₄)  (4).

It will be noted that, the formula (3) is obtained in a case where A₁ is set to 0.6, A₂ is set to 0.3, and A₃ is set to 0.1 in the formula (1), and the formula (4) is obtained in a case where A₁ is set to 0.6, A₂ is set to 0.3, and A₃ is set to 0.1 in the formula (2).

As shown in FIGS. 12 and 13, the compensation data D_(C) of the touch model corresponding to the point to be compensated P_(C) of each line L is calculated according to the first touch data D₁ of the touch model corresponding to the touch recognition point P₁(X₁,Y₁) of the previous 1st moment T₁ of each line L.

In an example where the central compensation coefficient n₁ is 0.32 and the peripheral compensation coefficient n₂ is 0.24, the touch data N₁ of the central point and the touch data N₂ of 8 peripheral points of each compensation data D_(C) in FIG. 13 may be obtained through calculation. For example, in FIG. 11, the touch data N₁ of the central point in the first touch data D₁ of an uppermost line L is 860, then the central compensation data N₁′ is calculated to be: N₁′=0.32×860=275; the touch data N₂ of a peripheral point located to the right of the central point (which is 504) is taken as an example, then the corresponding peripheral compensation data N₂′ is calculated to be: N₂′=0.24×504=121.

Referring to FIG. 14, the all touch data D_(A) of the touch screen at the current moment is obtained, and the second touch data D₂ of the current moment at the place where the touch model corresponding to each point to be compensated P_(C) is located is obtained from the all touch data D_(A) according to the coordinates (X_(C),Y_(C)) of the point to be compensated P_(C) of each line L.

Referring to FIG. 15, in an example where the interference removal coefficient is 0.8, the second touch data D₂ is multiplied by the interference removal coefficient of 0.8, so as to perform the interference removal on the second touch data D₂. For example, in FIG. 11, the touch data M₁ of the central point of the second touch data D₂ of the uppermost line L is 909. After the interference removal is performed on the second touch data D₂, the touch data M₁′ of the central point is 727. The touch data M₂ of the peripheral point to the right of the central point is 388. After the interference removal is performed on the second touch data D₂, the touch data M₂′ of the peripheral point is 310.

Referring to FIG. 16, compensating the second touch data D₂′ which is obtained after the interference removal includes: adding the central compensation data N₁′ to the touch data M₁′ of the central point in the second touch data D₂′ that is obtained after the interference removal correspondingly, and adding the peripheral compensation data N₂′ to the touch data M₂ of the peripheral points in the second touch data D₂ that is obtained after the interference removal correspondingly. For example, the touch data of the central point of the uppermost line L in FIG. 11 after the compensation is: 275+727=1002; and the touch data of the peripheral point to the right of the central point after the touch compensation is: 121+310=431.

Referring to FIG. 17, the second touch data D₂′ that is uncompensated is replaced with the compensated second touch data D₂″ to obtain the all compensated touch data D_(A)′ at the current moment T₀.

Referring to FIG. 18, the touch model Mod of the current moment T₀ is identified according to the all compensated touch data D_(A)′ at the current moment T₀, and the touch recognition point P₀ of the current moment T₀ is determined according to the identified touch model Mod of the current moment T₀. For example, among the all compensated touch data D_(A)′, touch data of a touch point, which is 1002, is greater than touch data of other touch points around the touch point, then the touch point with the touch data of 1002 is determined as the touch recognition point P₀ of the current moment T₀.

In some embodiments of the present disclosure, referring to FIG. 19, a touch compensation apparatus 100 is further provided. The touch compensation apparatus includes: a processor 101 and a memory 102. The memory 102 stores program instructions that are executable. When the program instructions are executed by the processor 101, the touch compensation apparatus 100 is caused to perform the following steps.

The coordinates (X_(C),Y_(C)) of the point to be compensated P_(C) of the current moment T₀ are estimated according to the coordinates of the n touch recognition points at the n previous moments. The n previous moments before the current moment are T₁ to T_(n), and n is an integer greater than or equal to 2.

The compensation data D_(C) of the touch model corresponding to the point to be compensated P_(C) is calculated according to the first touch data D₁ of the touch model corresponding to the touch recognition point P₁ of the previous 1st moment T₁.

The all touch data D_(A) of the touch screen at the current moment T₀ is obtained, and the second touch data D₂ at the current moment T₀ at the place where the touch model corresponding to the point to be compensated P_(C) is located is obtained from the all touch data D_(A) according to the coordinates (X_(C),Y_(C)) of the point to be compensated P_(C).

The second touch data D₂ is compensated according to the compensation data D_(C).

The touch compensation apparatus 100 may be able to reduce the influence of interference on the accuracy of the touch screen in determining the touch recognition points, thereby improving the touch recognition accuracy of the touch screen. This effect has been described in detail in some embodiments of the touch compensation method provided in the present disclosure, and will not be elaborated herein again.

In some embodiments, the touch compensation apparatus 100 further includes a communication bus 103. The processor 101 and the memory 102 are electrically connected via the communication bus 103, so as to realize transmission of data including the touch data.

Some embodiments of the present disclosure further provide a touch screen 1000. Referring to FIG. 20, the touch screen 100 includes the touch compensation apparatus 100 described above.

The touch screen 1000 may also be able to achieve the effect of reducing the influence of interference on the accuracy of the touch screen in determining the touch recognition points and thus improve the touch recognition accuracy of the touch screen, which will not be elaborated herein again.

In some embodiments of the present disclosure, a touch compensation apparatus 200 is further provided. In a case where functional modules are divided according to respective functions, referring to FIG. 21, the touch compensation apparatus 200 includes: an estimator of the point to be compensated 201, a touch detector 202, and a touch compensator 203.

The estimator of the point to be compensated 201 is configured to: for the at least one line L, estimate the coordinates (X_(C),Y_(C)) of the point to be compensated P_(C) at the current moment T₀ according to the coordinates of the n touch recognition points at the n previous moments. The n previous moments before the current moment are T₁ to T_(n), and n is the integer greater than or equal to 2.

The touch detector 202 is configured to: obtain the all touch data D_(A) of the touch screen at the current moment T₀.

The touch compensator 203 is configured to: calculate the compensation data D_(C) of the touch model corresponding to the point to be compensated P_(C) according to the first touch data D₁ of the touch model corresponding to the touch recognition point at the previous 1st moment T₁; obtain the second touch data D₂ at the current moment T₀ at the place where the touch model corresponding to the point to be compensated P_(C) is located from the all touch data D_(A) according to the coordinates (X_(C),Y_(C)) of the point to be compensated P_(C); and compensate the second touch data D₂ according to the compensation data D_(C).

The touch compensation apparatus 200 may also be able to achieve the effect of reducing the influence of interference on the accuracy of the touch screen in determining the touch recognition points and thus improve the touch recognition accuracy of the touch screen, which will not be elaborated herein again.

Some embodiments of the present disclosure provide a computer readable storage medium (for example, a non-transitory computer readable storage medium). The computer readable storage medium stores computer program instructions. When run by a processor, the computer program instructions cause the processor to perform one or more steps of the touch compensation method described in any one of the above embodiments.

The computer readable storage medium may also be able to achieve the effect of reducing the influence of interference on the accuracy of the touch screen in determining the touch recognition points and thus improve the touch recognition accuracy of the touch screen, which will not be elaborated herein again.

Exemplarily, the computer readable storage medium may include, but is not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or magnetic tapes), optical disks (e.g., CDs (Compact Disks) and DVDs (Digital Versatile Disks)), smart cards, and flash memory devices (e.g., EPROM (Erasable Programmable Read-Only Memory), cards, sticks or key drivers). The various computer readable storage media described in the present disclosure may refer to one or more devices and/or other machine readable storage media for storing information. The term “machine readable storage medium” may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.

Some embodiments of the present disclosure further provide a computer program product. The computer program product includes computer program instructions. When the computer program instructions are executed by a computer, the computer program instructions cause the computer to perform one or more steps of the touch compensation method described in any one of the above embodiments.

Some embodiments of the present disclosure further provide a computer program. When the computer program is executed by a computer, the computer program causes the computer to perform one or more steps of the touch compensation method described in any one of the above embodiments.

The beneficial effects of the computer readable storage medium, the computer program product and the computer program are the same as the beneficial effects of the touch compensation method described in some embodiments above, which will not be elaborated herein again.

The foregoing descriptions are merely some specific implementations of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art could conceive of changes of replacements within the technical scope disclosed by the present disclosure, which shall all be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims. 

What is claimed is:
 1. A touch compensation method, comprising: for at least one line, estimating coordinates of a point to be compensated at a current moment according to coordinates of n touch recognition points at n previous moments, the n previous moments before the current moment being T₁ to T_(n), and n being an integer greater than or equal to 2; calculating compensation data of a touch model corresponding to the point to be compensated according to first touch data of a touch model corresponding to a touch recognition point of a previous 1st moment T₁; obtaining all touch data of a touch screen at the current moment; obtaining second touch data at the current moment at a place where the touch model corresponding to the point to be compensated is located from the all touch data according to the coordinates of the point to be compensated; and compensating the second touch data according to the compensation data.
 2. The touch compensation method according to claim 1, wherein before compensating the second touch data according to the compensation data, the touch compensation method further comprises: performing interference removal on the second touch data.
 3. The touch compensation method according to claim 2, wherein performing the interference removal on the second touch data includes: multiplying the second touch data by an interference removal coefficient, the interference removal coefficient being greater than 0 and less than
 1. 4. The touch compensation method according to claim 3, wherein the interference removal coefficient is in a range of 0.5 to
 1. 5. The touch compensation method according to claim 4, wherein the interference removal coefficient is 0.8.
 6. The touch compensation method according to claim 1, wherein estimating the coordinates of the point to be compensated at the current moment according to the coordinates of the n touch recognition points at the n previous moments includes: calculating the coordinates (X_(C), Y_(C)) of the point to be compensated according to the following formulas (1) and (2): $\begin{matrix} {{X_{C} = {X_{1} + {\sum\limits_{k = 1}^{n - 1}{A_{k} \cdot \left( {X_{k} - X_{k + 1}} \right)}}}};} & (1) \\ {{Y_{C} = {Y_{1} + {\sum\limits_{k = 1}^{n - 1}{A_{k} \cdot \left( {Y_{k} - Y_{k + 1}} \right)}}}},} & (2) \end{matrix}$ wherein A_(k) represents a weight coefficient corresponding to differences between coordinates of a touch recognition point at a previous kth moment and a touch recognition point at a previous (k+1)th moment before the current moment, which are among the n touch recognition points; ${{\sum\limits_{k = 1}^{n - 1}A_{k}} = 1},$ and A₁>A₂> . . . >A_(n-1); X_(k) represents an abscissa of the touch recognition point at the previous kth moment before the current moment, and Y_(k) represents an ordinate of the touch recognition point at the previous kth moment before the current moment.
 7. The touch compensation method according to claim 6, wherein A₁ is greater than 0.5.
 8. The touch compensation method according to claim 7, wherein n is equal to 4, A₁ is equal to 0.6, A₂ is equal to 0.3, and A₃ is equal to 0.1.
 9. The touch compensation method according to claim 1, wherein in a case where there are at least two lines, and there is an overlapping region between the second touch data of the touch models corresponding to the points to be compensated of two adjacent lines; and compensating the second touch data according to the compensation data includes: compensating a part of the second touch data that is located in the overlapping region according to the compensation data of any one of the points to be compensated of the two adjacent lines.
 10. The touch compensation method according to claim 1, wherein the compensation data includes: central compensation data calculated based on touch data of a central point in the first touch data, and peripheral compensation data calculated based on touch data of peripheral points in the first touch data; and calculating the compensation data of the touch model corresponding to the point to be compensated according to the first touch data of the touch model corresponding to the touch recognition point of the previous 1st moment T₁ includes: multiplying the touch data of the central point in the first touch data by a central compensation coefficient, a product obtained is used as the central compensation data; and multiplying the touch data of the peripheral points in the first touch data by a peripheral compensation coefficient, a product obtained is used as the peripheral compensation data, wherein the central compensation coefficient is greater than or equal to the peripheral compensation coefficient.
 11. The touch compensation method according to claim 10, wherein the central compensation coefficient is in a range of 0.2 to 0.8, and the peripheral compensation coefficient is in a range of 0.1 to 0.7.
 12. The touch compensation method according to claim 11, wherein the central compensation coefficient is 0.32, and the peripheral compensation coefficient is 0.24.
 13. The touch compensation method according to claim 10, wherein the second touch data includes: touch data of a central point and touch data of peripheral points; and compensating the second touch data according to the compensation data includes: adding the central compensation data to the touch data of the central point in the second touch data correspondingly; and adding the peripheral compensation data to the touch data of the peripheral points in the second touch data correspondingly.
 14. The touch compensation method according to claim 1, wherein after the second touch data is compensated according to the compensation data, and compensated touch data at the current moment is obtained, the touch compensation method further comprises: replacing the second touch data that is uncompensated with compensated second touch data to obtain all compensated touch data at the current moment; identifying a touch model of the current moment according to all compensated touch data at the current moment, and determining a touch recognition point of the current moment according to the identified touch model of the current moment.
 15. The touch compensation method according to claim 14, wherein identifying the touch model of the current moment according to the all compensated touch data at the current moment, includes: among the all compensated touch data at the current moment, if touch data of a touch point is greater than touch data of other touch points around the touch point, then identifying the touch point and the other touch points around the touch point as a touch model; and determining the touch recognition point of the current moment according to the identified touch model of the current moment, includes: determining a central point of the touch model to be the touch recognition point of the current moment.
 16. The touch compensation method according to claim 15, wherein the touch model is a nine-box matrix composed of 9 touch points.
 17. A touch compensation apparatus, comprising: a processor and a memory, wherein the memory stores program instructions that are executable; when the program instructions are executed by the processor, the touch compensation apparatus is caused to perform the following steps: for at least one line, estimating coordinates of a point to be compensated at a current moment according to coordinates of n touch recognition points at n previous moments, the n previous moments before the current moment being T₁ to T_(n), and n being an integer greater than or equal to 2; calculating compensation data of a touch model corresponding to the point to be compensated according to first touch data of a touch model corresponding to a touch recognition point of a previous 1st moment T₁; obtaining all touch data of a touch screen at the current moment; obtaining second touch data at the current moment at a place where the touch model corresponding to the point to be compensated is located from the all touch data according to the coordinates of the point to be compensated; and compensating the second touch data according to the compensation data.
 18. A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores one or more program instructions, so as to perform one or more steps of the touch compensation method according to claim
 1. 19. A touch screen, comprising the touch compensation apparatus according to claim
 17. 